/// <reference types="vite/client" />

interface ImportMetaEnv {
  readonly VITE_APP_TITLE: string
  readonly VITE_API_BASE_URL: string
}

interface ImportMeta {
  readonly env: ImportMetaEnv
}

// 用户相关类型
export interface ILoginForm {
  username: string
  password: string
}

export interface IUserInfo {
  id: string
  username: string
  token: string
  avatar?: string
}

// 菜单相关类型
export interface IMenuItem {
  path: string
  title: string
  icon?: string
  children?: IMenuItem[]
}
